package com.mark.service;

import com.mark.entity.ProductCategory;

import java.util.List;
import java.util.Optional;

/**
 * Created by Choisaaaa on 2018/6/21.
 * 商品类目service层接口定义
 */
public interface IProductCategoryService {
    Optional<ProductCategory> findById(Integer categoryId);

    List<ProductCategory> findAll();

    List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryTypeList);

    ProductCategory save(ProductCategory productCategory);
}
